﻿#region

using System.Web;

#endregion

namespace BuildMotion.MotionTracker
{
    /// <summary>
    /// This WCF service class provides the implementation for the specified 
    /// service. It delegates requests to the <see cref="MotionTrackerService"/>
    /// for processing. 
    /// 
    /// There should be no implementation in this class just delegation to the 
    /// actually provider.
    /// </summary>
    public class MotionTrackerWCFService : IMotionTrackerWCFService
    {
        #region IMotionTrackerWCFService Members

        /// <summary>
        /// Tracks the request.
        /// </summary>
        /// <param name="application">The application.</param>
        public void TrackRequest(HttpApplication application)
        {
            // Delegates the request/message to the Provider's service.
            MotionTrackerService.TrackRequest(application);
        }

        #endregion
    }
}